package com.beilang.hotline.template.manager;

import com.beilang.base.pagination.PaginationHelper;
import com.beilang.hotline.template.model.TemplateModel;
import com.beilang.hotline.template.to.SearchTO;

public interface TemplateMgr {
	public TemplateModel createTemplate(TemplateModel templateModel) ;

	public TemplateModel saveTemplate(TemplateModel templateModel) ;

	public void deleteTemplate(Long templateId);

	public TemplateModel getTemplate(Long templateId);

	public PaginationHelper getTemplateList(PaginationHelper helper,SearchTO searchTO);

    public byte[] genereateTemplateReport(SearchTO searchTO);

    public void deleteAllSysTemplates(Long sysId);
}
